package router

import (
	"github.com/gin-gonic/gin"
	"hosptial-record/api/pictureType"
)

func InitPictureTypeRouter(group *gin.RouterGroup) {
	router := group.Group("pictureType")
	{
		router.GET("", pictureType.List)
		router.GET("patient/:id", pictureType.PatientPictures)
		router.POST("", pictureType.Create)
		router.PATCH("", pictureType.Update)
		router.DELETE(":id", pictureType.Delete)
	}
}
